package com.sxg.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.sxg.entity.SxgGoodsCollectionEntity;
import com.sxg.entity.SxgGoodsInfoEntity;
import com.sxg.page.PageResult;
import com.sxg.query.SxgGoodsCollectionQuery;
import com.sxg.utils.code.AjaxResult;
import com.sxg.vo.SxgGoodsCollectionVO;
import com.sxg.vo.req.GoodsCollectionReqVo;
import com.sxg.vo.resp.CollectionRespVo;

import java.util.List;

/**
 * 商品收藏
 *
 * @author 浪漫写尽歌谱 3298751420@qq.com
 * @since 1.0.0 2024-03-07
 */
public interface SxgGoodsCollectionService extends IService<SxgGoodsCollectionEntity> {

    PageResult<CollectionRespVo> page(SxgGoodsCollectionQuery query);

    void save(SxgGoodsCollectionVO vo);

    void update(SxgGoodsCollectionVO vo);

    AjaxResult delete(List<Long> idList);

    AjaxResult saveByUserId(GoodsCollectionReqVo vo);


}